package com.qf.im.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.qf.im.base.BaseEntity;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 房屋表(House)表实体类
 *
 * @author makejava
 * @since 2023-11-09 09:19:28
 */
@Data
@Accessors(chain = true)
public class House extends BaseEntity implements Serializable {
    //房屋id
    @TableId(type = IdType.AUTO)
    private Integer id;
    //房屋标题
    private String subject;
    //房屋封面
    private String image;
    //1-公寓 2-民房 3-商品房
    private Integer type;
    //几室
    private Integer shi;
    //几厅
    private Integer ting;
    //房租
    private Double price;
    //详细描述
    private String info;
    //地址
    private String address;
    //纬度
    private Double lat;
    //经度
    private Double lng;
}

